Print Modules in a BaselineSet Definition

Hi Everyone, I can't seem to find a way of printing a list of the modules that are part of a baseline set definition. I have a definition set on the project and we need to make sure that all modules are added. Can anyone help please?

Much appreciated.
Roobroo - Mon Apr 26 08:34:44 EDT 2010

Re: Print Modules in a BaselineSet Definition
Roobroo - Mon Apr 26 08:50:33 EDT 2010

Think I have it thanks.

Re: Print Modules in a BaselineSet Definition
vasgyuszi - Mon Sep 06 09:47:37 EDT 2010

Roobroo - Mon Apr 26 08:50:33 EDT 2010
Think I have it thanks.

Please tell me too, I'm also interested.

My little tryout, based on Example 2 at DXL Help "Baseline Set Definition" won't work:
 

void printBSDs() {
 
    BaselineSetDefinition bsd    
 
    for bsd in current Folder do {
 
        print "" 
        print name(bsd) ": " description(bsd)
        string errmess = read(bsd) 
        if (!null errmess) 
        { 
            print "Could not read Definition: " errmess
        } 
        else if (isEmpty(bsd)) 
        { 
            print "Empty Baseline Set Definition"
        } 
        else 
        { 
            ModName_ mod 
            for mod in bsd do 
            { 
                print "" fullName mod
            } 
        } 
        print "" 
    }
} 
printBSDs

 


THX!
vasgyuszi

 

Re: Print Modules in a BaselineSet Definition
vasgyuszi - Mon Sep 06 10:19:13 EDT 2010

vasgyuszi - Mon Sep 06 09:47:37 EDT 2010

Please tell me too, I'm also interested.

My little tryout, based on Example 2 at DXL Help "Baseline Set Definition" won't work:
 

void printBSDs() {
 
    BaselineSetDefinition bsd    
 
    for bsd in current Folder do {
 
        print "" 
        print name(bsd) ": " description(bsd)
        string errmess = read(bsd) 
        if (!null errmess) 
        { 
            print "Could not read Definition: " errmess
        } 
        else if (isEmpty(bsd)) 
        { 
            print "Empty Baseline Set Definition"
        } 
        else 
        { 
            ModName_ mod 
            for mod in bsd do 
            { 
                print "" fullName mod
            } 
        } 
        print "" 
    }
} 
printBSDs

 


THX!
vasgyuszi

 

Of course won't see anything, when the folder doesn't contain any baselinesets... my fault.
Problem solved.